package com.lyf.shop.entity;


import javax.xml.crypto.Data;
import java.io.Serializable;
import java.util.Date;

public class Orders implements Serializable {

  private String oid;
  private int uid;
  private User user;
  private int aid;
  private Address addr;
  private double ocount;
  private Date otime;
  private int ostate;

  @Override
  public String toString() {
    return "Orders{" +
            "oid='" + oid + '\'' +
            ", uid=" + uid +
            ", aid=" + aid +
            ", addr=" + addr +
            ", ocount=" + ocount +
            ", otime=" + otime +
            ", ostate=" + ostate +
            '}';
  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public Address getAddr() {
    return addr;
  }

  public void setAddr(Address addr) {
    this.addr = addr;
  }

  public Orders() {
  }

  public String getOid() {
    return oid;
  }

  public void setOid(String oid) {
    this.oid = oid;
  }


  public int getUid() {
    return uid;
  }

  public void setUid(int uid) {
    this.uid = uid;
  }


  public int getAid() {
    return aid;
  }

  public void setAid(int aid) {
    this.aid = aid;
  }


  public double getOcount() {
    return ocount;
  }

  public void setOcount(double ocount) {
    this.ocount = ocount;
  }


  public Date getOtime() {
    return otime;
  }

  public void setOtime(Date otime) {
    this.otime = otime;
  }


  public int getOstate() {
    return ostate;
  }

  public void setOstate(int ostate) {
    this.ostate = ostate;
  }

}
